﻿
namespace LeadThing.AbpZeroTemplate.BasicPersons.Authorization
{
    /// <summary>
    /// 定义系统的权限名称的字符串常量。
    /// <see cref="BasicPersonAppAuthorizationProvider"/>中对权限的定义.
    /// </summary>
    public static class BasicPersonAppPermissions
    {

        #region 实有房屋、人口
        /// <summary>
        /// 实有房屋、人口
        /// </summary>
        public const string BasicPerson = "Pages.BasicPerson";

        /// <summary>
        /// 莒县人口基本信息创建权限
        /// </summary>
        public const string BasicPerson_CreateBasicPerson = "Pages.BasicPerson.CreateBasicPerson";
        /// <summary>
        /// 莒县人口基本信息修改权限
        /// </summary>
        public const string BasicPerson_EditBasicPerson = "Pages.BasicPerson.EditBasicPerson";
        /// <summary>
        /// 莒县人口基本信息删除权限
        /// </summary>
        public const string BasicPerson_DeleteBasicPerson = "Pages.BasicPerson.DeleteBasicPerson";
        #endregion


        #region 网格员

        public const string GridPerson_Users = "Pages.GridPerson.Users";  
        public const string GridPerson_CreatingNewUser = "Pages.GridPerson.CreatingNewUser";
        public const string GridPerson_EditingUser = "Pages.GridPerson.EditingUser";
        public const string GridPerson_DeletingUser = "Pages.GridPerson.DeletingUser";
        public const string GridPerson_ChangingPermissions = "Pages.GridPerson.ChangingPermissions";
        public const string GridPerson_LoginForUsers = "Pages.GridPerson.LoginForUsers";


        #endregion

        #region 注册群众
        public const string RegisterPerson_Users = "Pages.RegisterPerson.Users";
        public const string RegisterPerson_CreatingNewUser = "Pages.RegisterPerson.CreatingNewUser";
        public const string RegisterPerson_EditingUser = "Pages.RegisterPerson.EditingUser";
        public const string RegisterPerson_DeletingUser = "Pages.RegisterPerson.DeletingUser";
        public const string RegisterPerson_ChangingPermissions = "Pages.RegisterPerson.ChangingPermissions";
        //public const string RegisterPerson_LoginForUsers = "Pages.RegisterPerson.LoginForUsers";
        #endregion

    }

}

